package org.openstock.impl.def.core.ui.swing.widget;

import java.awt.event.KeyEvent;

import org.openstock.design.Registerable;
import org.openstock.impl.def.core.ui.swing.wrapper.JMenu;
import org.openstock.resources.i18n.MessageSource;

public class FileMenu extends JMenu implements Registerable {
	private static final long serialVersionUID = -1928775203834645520L;

	public void register() {
		MainFrame.getInstance().getJMenuBar().add(this);
	}
	
	public FileMenu() {
		super(MessageSource.getMessage("File"));
		setMnemonic(KeyEvent.VK_F);
	}
	
}
